package cn.b.sky.admin.model;

import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * <strong>Title : ECodeType.java<br>
 * </strong> <strong>Package : cn.b.sky.admin.model<br>
 * </strong> <strong>Description : </strong>枚举码类型数据对象<br>
 * <strong>Create on : 2016-6-8 上午09:54:05<br>
 * </strong>
 * <p>
 * 
 * @author JunLin.Yang<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 *          <strong>修改历史:</strong><br>
 *          修改人|修改日期|修改描述<br>
 *          -------------------------------------------<br>
 * <br>
 * <br>
 */
public class ECodeType extends ImeCommon implements Serializable {

	private static final long serialVersionUID = -1L;

	/**
	 * 枚举码类型
	 */
	private String eCodeType;

	/**
	 * 类型描述
	 */
	private String typeText;

	/**
	 * 备注
	 */
	private String memo;

	/**
	 * 锁定标志
	 */
	private int lockFlag;

	/**
	 * ECode信息集合
	 */
	private List<ECode> eCodeList;
	
	/**
	 * ECodeTl信息集合
	 */
	private List<ECodeTl> eCodeTlList;

	public String geteCodeType() {
		return eCodeType;
	}

	public void seteCodeType(String eCodeType) {
		if(StringUtils.isNotBlank(eCodeType)){
			this.eCodeType = eCodeType.toUpperCase();
		}else{
			this.eCodeType = eCodeType;
		}
	}

	public void setTypeText(String typeText) {
		this.typeText = typeText;
	}

	public String getTypeText() {
		return this.typeText;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getMemo() {
		return this.memo;
	}
	public int getLockFlag() {
		return lockFlag;
	}

	public void setLockFlag(int lockFlag) {
		this.lockFlag = lockFlag;
	}

	public List<ECode> geteCodeList() {
		return eCodeList;
	}

	public void seteCodeList(List<ECode> eCodeList) {
		this.eCodeList = eCodeList;
	}

	public List<ECodeTl> geteCodeTlList() {
		return eCodeTlList;
	}

	public void seteCodeTlList(List<ECodeTl> eCodeTlList) {
		this.eCodeTlList = eCodeTlList;
	}
	

}